package com.rc.saas.mini.search;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.mini.common.base.BaseSearch;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

public class TenantDiscountSearch extends BaseSearch {
    @ApiModelProperty(value = "最终总价")
    private BigDecimal totalDiscountPrice;//最终总价

    private BigDecimal discountElecPrice;//

    private BigDecimal discountServicePrice;//1 特定服务费

    private BigDecimal discount;//0服务费打折
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private String beginTime;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private String endTime;

    private int activityType;//1活动电价 2.超级会员 3.会员等级 4 桩群折扣 5.原价显示 6.企业会员

    private Long elecStationId;

    private String policyName;//优惠名称

    private String discountType;//优惠类型,  0服务费打折 1 特定服务费（活动价） 2总价打折
    @ApiModelProperty(value = "原电价")
    private BigDecimal elecPrice;//原电价
    @ApiModelProperty(value = "原服务费")
    private BigDecimal servicePrice;//原服务费

    private Long memberId;

    private Long enterpriseId;//企业主会员Id  对应主会员的memberId

    private String enterpriseType;//（只针对企业价格）企业类型，0普通企业会员1商户企业会员，默认0

    public BigDecimal getTotalDiscountPrice() {
        return totalDiscountPrice;
    }

    public void setTotalDiscountPrice(BigDecimal totalDiscountPrice) {
        this.totalDiscountPrice = totalDiscountPrice;
    }

    public BigDecimal getDiscountElecPrice() {
        return discountElecPrice;
    }

    public void setDiscountElecPrice(BigDecimal discountElecPrice) {
        this.discountElecPrice = discountElecPrice;
    }

    public BigDecimal getDiscountServicePrice() {
        return discountServicePrice;
    }

    public void setDiscountServicePrice(BigDecimal discountServicePrice) {
        this.discountServicePrice = discountServicePrice;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getActivityType() {
        return activityType;
    }

    public void setActivityType(int activityType) {
        this.activityType = activityType;
    }

    public Long getElecStationId() {
        return elecStationId;
    }

    public void setElecStationId(Long elecStationId) {
        this.elecStationId = elecStationId;
    }

    public String getPolicyName() {
        return policyName;
    }

    public void setPolicyName(String policyName) {
        this.policyName = policyName;
    }

    public String getDiscountType() {
        return discountType;
    }

    public void setDiscountType(String discountType) {
        this.discountType = discountType;
    }

    public BigDecimal getElecPrice() {
        return elecPrice;
    }

    public void setElecPrice(BigDecimal elecPrice) {
        this.elecPrice = elecPrice;
    }

    public BigDecimal getServicePrice() {
        return servicePrice;
    }

    public void setServicePrice(BigDecimal servicePrice) {
        this.servicePrice = servicePrice;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseType() {
        return enterpriseType;
    }

    public void setEnterpriseType(String enterpriseType) {
        this.enterpriseType = enterpriseType;
    }
}
